package com.zlzxm.shoesmarket.view.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.zlzxm.shoesmarket.R;
import com.zlzxm.shoesmarket.view.adapter.entity.EntitySearchHistory;

import org.jetbrains.annotations.NotNull;

/**
 * CREATE BY zlzxm ON 4/15/21
 */
public class ADSearchHistory extends BaseQuickAdapter<EntitySearchHistory, BaseViewHolder> {
    public ADSearchHistory() {
        super(R.layout.item_search_history);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, EntitySearchHistory entitySearchHistory) {

        holder.setText(R.id.tvHistory,entitySearchHistory.getTitle());
    }
}
